package com.ruoyi.vehicle.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;


/**
 * 订单司机信息对象 tb_driver_distribution
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
@Data
public class TbDriverDistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息ID */
    private Long informationId;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderId;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private Long driverId;

    @Transient
    private String driverName;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private Long vehicleId;

    @Transient
    private String licensePlate;


    /** 电量 */
    @Excel(name = "电量")
    private Long electricId;

    @Transient
    private String batteryMileage;

    /** 上车地点 */
    @Excel(name = "上车地点")
    private Long placeUpId;

    @Transient
    private String pickupAddress;

    /** 司机手机号 */
    @Excel(name = "司机手机号")
    private Long driverPhoneId;

    @Transient
    private String driverPhone;

    /** 下车地点 */
    @Excel(name = "下车地点")
    private Long palceDownId;

    @Transient
    private String dropoffAddress;

    /** 用车时间 */
    @Excel(name = "用车时间")
    private Long vehicleUseId;

    public void setInformationId(Long informationId) 
    {
        this.informationId = informationId;
    }

    public Long getInformationId() 
    {
        return informationId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }

    public void setElectricId(Long electricId) 
    {
        this.electricId = electricId;
    }

    public Long getElectricId() 
    {
        return electricId;
    }

    public void setPlaceUpId(Long placeUpId) 
    {
        this.placeUpId = placeUpId;
    }

    public Long getPlaceUpId() 
    {
        return placeUpId;
    }

    public void setDriverPhoneId(Long driverPhoneId) 
    {
        this.driverPhoneId = driverPhoneId;
    }

    public Long getDriverPhoneId() 
    {
        return driverPhoneId;
    }

    public void setPalceDownId(Long palceDownId) 
    {
        this.palceDownId = palceDownId;
    }

    public Long getPalceDownId() 
    {
        return palceDownId;
    }

    public void setVehicleUseId(Long vehicleUseId) 
    {
        this.vehicleUseId = vehicleUseId;
    }

    public Long getVehicleUseId() 
    {
        return vehicleUseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("informationId", getInformationId())
            .append("orderId", getOrderId())
            .append("driverId", getDriverId())
            .append("vehicleId", getVehicleId())
            .append("electricId", getElectricId())
            .append("placeUpId", getPlaceUpId())
            .append("driverPhoneId", getDriverPhoneId())
            .append("palceDownId", getPalceDownId())
            .append("vehicleUseId", getVehicleUseId())
            .toString();
    }
}
